package com.burgeon.backend.SHOPBACKEND.service;

import com.burgeon.backend.SHOPBACKEND.entity.Seckill;
import com.burgeon.backend.SHOPBACKEND.service.ex.DeleteException;
import com.burgeon.backend.SHOPBACKEND.service.ex.UploadException;
import com.burgeon.backend.SHOPBACKEND.service.ex.ErrorDataException;

import java.util.List;

public interface BackendSeckillService {

    void timingPutaway();

    void addSeckill(String code,String putaway,String price,String endTime ,String account) throws UploadException;

    List<Seckill> getData(String account);

    void delData(String id) throws DeleteException;

    void putaway(String id,String yn) throws ErrorDataException;
}
